<extend name="Public/Common/base.html" />
<block name="main">
<css href="__PUBLIC__/assets/css/tp.css" />
<style>
.am-table{
	font-size:13px;
}
</style>
<div class="am-g" style="margin:10px auto;">
 <form class="am-form"  method="post">  
    <label for="doc-select-1">搜索姓名:</label> 
    <div class="am-input-group">  
      <input type="text" id="searchstaff" name="searchstaff" class="am-form-field" placeholder="请输入姓名" onkeyup="this.value=this.value.replace(/[, ]/g,'')">      
      <span class="am-input-group-btn" onclick="searchstaff()">
     <button  class="am-btn am-btn-default" ><span class="am-icon-search"></span> </button>
      </span>   
    </div>  
</form>
</div>
<table class="am-table am-table-compact am-table-centered am-scrollable-horizontal   am-table-bordered">
    <thead>
        <tr>
            <th>id</th>
            <th>姓名</th>     
            <th>手机</th>
            <th>邮箱</th>
            <th>性别</th>
            <th>状态</th>         
        </tr>
    </thead>
    <tbody>
    <volist name="statuslist" id="vo">
        <tr>
            <td>{$i}</td>
            <td>{$vo.name}</td>          
            <td>{$vo.phone}</td>
            <td>{$vo.email}</td>
            <td><if condition="$vo.sex eq 1">男<else/>女</if></td>
            <td><if condition="$vo.status eq 1">
             <button type="button" class="am-btn am-btn-danger am-btn-xs">出差中</button>
            <else/>
           <button type="button" class="am-btn am-btn-success am-btn-xs">在公司</button>
            </if>
            </td>           
        </tr>
       </volist>
    </tbody>
</table>
	 <div class="am-g am-text-center">
	      {$page}
	  </div>
	             
</block>
